﻿using System.IO;

namespace TfsWrapper
{
    public class IssueDataPrinter : OutputPrinter<IssueData>
    {
        public IssueDataPrinter(IOutputWriter output) : base(output)
        {
        }

        public override void Print(IssueData issueData)
        {
            Output.WriteLine("Id", issueData.Id);
            Output.WriteLine("Summary", issueData.Summary);
            Output.WriteLine("State", issueData.State);
            Output.WriteLine("Url", issueData.Url);
            Output.WriteLine("Resolved", issueData.Resolved);
        }
    }
}